﻿//------------------------------------------------------------------------------ 
// <copyright file="IjQueryManager.cs" company="Fm Computer">
//     Copyright (c) Fm Computer di Menatti Fulvia.  All rights reserved.
// </copyright>
//-----------------------------------------------------------------------------
namespace FmjQuery
{
    /// <summary>
    /// Interface for description JQueryManager
    /// </summary>
    public interface IjQueryManager
    {
        #region Property
        /// <summary>
        /// Gets or sets theme for jquery ui component
        /// </summary>
        Themes Theme
        {
            get; 
            set;
        }

        /// <summary>
        /// Gets or sets a value indicating whether manage culture (languages)
        /// </summary>
        bool ManageCulture
        {
            get; 
            set;
        }

        /// <summary>
        /// Gets list of resource that include into page
        /// </summary>
        JWebSources WebResources
        {
            get; 
        }
        #endregion

        #region Method
        /// <summary>
        /// Register resource that need control
        /// </summary>
        /// <param name="control">extend control</param>
        void RegisterResources(JQueryBaseControl control);

        /// <summary>
        /// Chenge theme
        /// </summary>
        /// <param name="theme">new theme that apply to page</param>
        void ChangeTheme(Themes theme);
        #endregion
    }
}
